//
//  UserShareDesModel.m
//  吃货·上海
//
//  Created by 高青松 on 15/11/25.
//  Copyright © 2015年 濮亚军. All rights reserved.
//

#import "UserShareDesModel.h"
#import <BmobSDK/BmobFile.h>
@implementation UserShareDesModel

-(instancetype)initWithbmobObject:(BmobObject *)bObject
{
    self = [super init];
    if (self)
    {
        BmobFile *file = [bObject objectForKey:@"userIcon"];
        self.imageStr = file.url;
        self.review = [bObject objectForKey:@"comment"];
        self.createdAt = [bObject createdAt];
        self.name = [bObject objectForKey:@"username"];
    }
    return self;
}

@end

